package com.android.kotlin.fragment

import android.view.View
import com.android.kotlin.R
import com.android.kotlin.base.BaseFragment
import com.android.kotlin.base.BaseRepository
import com.android.kotlin.base.BaseViewModel
import com.android.kotlin.viewmodel.NavigationViewModel

/**
 * @Description:
 * @Author: xuwenlong
 * @Email: xuwenlong @ebrun.com
 * @Version:
 * @Create: 2019/2/28 0028
 * @Modify:
 */

class NavigationFragment :BaseFragment<NavigationViewModel>(){


    override fun getLayoutId(): Int {
        return R.layout.frgmt_navigation
    }

    override fun getLoadSirView(): Any {
        return this
    }

    override fun initView() {
    }

    override fun dataObserver() {
    }

    override fun setMenuVisibility(menuVisible: Boolean) {
        super.setMenuVisibility(menuVisible)
        if (this.view != null)
            this.view!!.visibility = if (menuVisible) View.VISIBLE else View.GONE
    }
}